package com.task.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/page")
public class PageController {

    @RequestMapping("/task")
    public String task() {
        return "Task";
    }

    @RequestMapping("/user")
    public String user() {
        return "User";
    }

    @RequestMapping("/wxLogin")
    public String auth(){
        return "WxLogin";
    }

    @RequestMapping("/login")
    public String login(){
        return "Login";
    }

    @RequestMapping("/reg")
    public String reg(){
        return "Reg";
    }
}
